﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

using $safeprojectname$.Service;

namespace $safeprojectname$.Dao
{
    /// <summary>
    /// Handler for ADO.NET Dao Sessions
    /// </summary>
    public interface IDbSessionHandler : IService
    {
        bool TransactionIsActive { get; }
        void TransactionBegin();
        void TransactionCommit();
        void TransactionRollback();

        void Initialize(IDbRequestSession storage);
        void Dispose();
    }
}